package com.cyw.common.config.redis;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author cyw
 * @Description
 * @date 2020/9/9 11:28
 */
@Data
@Accessors(chain = true)
@ConfigurationProperties(prefix = "redis.prefix")
public class RedisKeyPrefixProperties {
    private Boolean enable = Boolean.TRUE;

    private String key = "default";

}